<?php

declare(strict_types=1);

namespace App\Model\WeChat;



/**
 * @property int $rule_id 
 * @property int $site_id 站点id
 * @property string $rule_name 规则名称
 * @property string $rule_type 规则类型KEYWORDS表示关键字,DEFAULT表示默认,AFTER表示关注后
 * @property string $keywords_json 关键字json
 * @property string $replay_json 回复内容json
 * @property int $create_time 创建时间
 * @property int $modify_time 修改时间
 */
class WechatReplayRule extends \App\Model\Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'wechat_replay_rule';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['rule_id', 'site_id', 'rule_name', 'rule_type', 'keywords_json', 'replay_json', 'create_time', 'modify_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['rule_id' => 'integer', 'site_id' => 'integer', 'create_time' => 'integer', 'modify_time' => 'integer'];
}
